﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Main.master" AutoEventWireup="true" CodeBehind="LeaveCalendar.aspx.cs" Inherits="EntryExit.LeaveCalendar" %>

<asp:Content ID="leaveCalendarContent" ContentPlaceHolderID="MainContent" runat="server">
    <dx:ASPxRoundPanel ID="leaveViewerPanel" runat="server" Width="100%" HeaderText="Availability">
        <HeaderStyle HorizontalAlign="Center" Font-Bold="True" Font-Size="Medium" />
        <PanelCollection>
            <dx:PanelContent>
                <dx:ASPxCalendar ID="leaveCalendar" runat="server" OnDayRender="leaveCalendar_DayRender" Width="100%" Columns="4" Rows="3" ShowClearButton="False" ShowTodayButton="False" ShowWeekNumbers="False"></dx:ASPxCalendar>
            </dx:PanelContent>
        </PanelCollection>
    </dx:ASPxRoundPanel>
     <table>
                    <tr>
                        <td style="width:5%;height:27px;background:Aqua" align="center"></td>                      
                        <td style="width:20%">
                            <asp:Label ID="Label2" runat="server" Text="No data,Reason:Before DOJ" Font-Names="Calibri" Font-Size="Small" ForeColor="Black"></asp:Label>
                        </td>
                        
                        <td style="width:5%;height:27px; background:ForestGreen" align="center"></td>
                        <td style="width:20%">
                            <asp:Label ID="Label7" runat="server" Text="Defaulted to Working, Reason : No data" Font-Names="Calibri" Font-Size="Small" ForeColor="Black"></asp:Label>
                        </td>
                        <td style="width:5%;height:27px;  background:Salmon" align="center"></td>
                        <td style="width:20%">
                            <asp:Label ID="Label12" runat="server" Text="Defaulted to Offday, Reason : No data" Font-Names="Calibri" Font-Size="Small" ForeColor="Black"></asp:Label>
                        </td>
                        <td style="width:5%;height:27px;  background:LightGreen" align="center"></td>
                       <td style="width:20%">
                           <asp:Label ID="Label1" runat="server" Text="Working" Font-Names="Calibri" Font-Size="Small" ForeColor="Black"></asp:Label>
                        </td>
                       
                    </tr>

                    <tr>
                        <td style="width:5%;height:27px; height:30px;background:LightSalmon" align="center"></td>                      
                        <td style="width:20%">
                            <asp:Label ID="Label3" runat="server" Text="Off Day" Font-Names="Calibri" Font-Size="Small" ForeColor="Black"></asp:Label>
                        </td>
                        <td style="width:5%;height:27px;  background:LightPink" align="center"></td>
                        <td style="width:20%">
                            <asp:Label ID="Label8" runat="server" Text="Public Holiday" Font-Names="Calibri" Font-Size="Small" ForeColor="Black"></asp:Label>
                        </td>
                        <td style="width:5%;height:27px; background:LightSkyBlue" align="center"></td>
                        <td style="width:20%">
                            <asp:Label ID="Label13" runat="server" Text="Compensatory Off" Font-Names="Calibri" Font-Size="Small" ForeColor="Black"></asp:Label>
                        </td>
                        <td style="width:5%;height:27px; background:LightGray" align="center"></td>
                       <td style="width:20%">
                           <asp:Label ID="Label17" runat="server" Text="Sick Leave" Font-Names="Calibri" Font-Size="Small" ForeColor="Black"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                       <td style="width:5%;height:27px; background:LightCyan" align="center"></td>
                       <td style="width:20%">
                           <asp:Label ID="Label4" runat="server" Text="Optional Holiday" Font-Names="Calibri" Font-Size="Small" ForeColor="Black"></asp:Label>
                        </td>
                       <td style="width:5%;height:27px;  background:Wheat" align="center"></td>
                       <td style="width:20%">
                           <asp:Label ID="Label9" runat="server" Text="Casual Leave" Font-Names="Calibri" Font-Size="Small" ForeColor="Black"></asp:Label>
                        </td>
                       <td style="width:5%;height:27px;  background:Yellow" align="center">&nbsp;</td>
                        <td style="width:20%">
                            <asp:Label ID="Label14" runat="server" Text="Loss Of Pay" Font-Names="Calibri" Font-Size="Small" ForeColor="Black"></asp:Label>
                        </td>
                       <td style="width:5%;height:27px;  background:LightSteelBlue" align="center"></td>
                       <td style="width:20%">
                           <asp:Label ID="Label18" runat="server" Text="Paternity Leave" Font-Names="Calibri" Font-Size="Small" ForeColor="Black"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="width:5%;height:27px;  background:Magenta" align="center"></td>
                        <td style="width:20%">
                            <asp:Label ID="Label5" runat="server" Text="Maternity Leave" Font-Names="Calibri" Font-Size="Small" ForeColor="Black"></asp:Label>
                        </td>
                        <td style="width:5%;height:27px;  background:Linen" align="center"></td>
                        <td style="width:20%">
                            <asp:Label ID="Label10" runat="server" Text="Study Leave" Font-Names="Calibri" Font-Size="Small" ForeColor="Black"></asp:Label>
                        </td>
                        <td style="width:5%;height:27px; background:MediumAquamarine;" align="center"></td>
                        <td style="width:20%">
                            <asp:Label ID="Label20" runat="server" Text="Compensatory Off Eligible" Font-Names="Calibri" Font-Size="Small" ForeColor="Black"></asp:Label>
                           
                        </td>
                        <td style="width:5%;height:27px;  background:Maroon" align="center"></td>
                        <td style="width:20%">
                            <asp:Label ID="Label19" runat="server" Text="Casual Leave Half Day" Font-Names="Calibri" Font-Size="Small" ForeColor="Black"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td style="width:5%;height:27px;  background:MediumPurple" align="center"></td>
                        <td style="width:20%">
                            <asp:Label ID="Label6" runat="server" Text="Sick Leave Half Day" Font-Names="Calibri" Font-Size="Small" ForeColor="Black"></asp:Label>
                        </td>
                        <td style="width:5%;height:27px;  background:MediumTurquoise" align="center"></td>
                        <td style="width:20%">
                            <asp:Label ID="Label11" runat="server" Text="Optional Holiday (Leave)" Font-Names="Calibri" Font-Size="Small" ForeColor="Black"></asp:Label>
                        </td>
                         <td style="width:5%;height:27px; background:Red" align="center"></td>
                        <td style="width:20%">
                            <asp:Label ID="Label16" runat="server" Text="Undefined Leave" Font-Names="Calibri" Font-Size="Small" ForeColor="Black"></asp:Label>
                        </td>
                         <td style="width:5%;height:27px"></td>                      
                       <td style="width:20%">                           
                        </td>
                    </tr>
                </table>
</asp:Content>
<%--<asp:Content ID="OptionsContent" ContentPlaceHolderID="RightContent" runat="server">
    <dx:ASPxSplitter ID="ASPxSplitter1" Orientation="Vertical" runat="server" Width="100%" Height="100%" AllowResize="False" Font-Size="Medium">
        <Panes>
            <dx:SplitterPane ScrollBars="Auto" Size="50%">
                <Separators Visible="False" />
                <ContentCollection>
                    <dx:SplitterContentControl>
                        <dx:ASPxTreeView ID="subOrdinatesTreeView" Width="100%" runat="server" AllowSelectNode="True" OnNodeClick="subOrdinatesTreeView_NodeClick" Theme="SoftOrange">
                        </dx:ASPxTreeView>
                    </dx:SplitterContentControl>
                </ContentCollection>
            </dx:SplitterPane>
            <dx:SplitterPane ScrollBars="Auto" Size="50%" ShowCollapseForwardButton="False">
                <ContentCollection>
                    <dx:SplitterContentControl>
                        <dx:ASPxPanel ID="availabilityLegendPanel" runat="server" Width="100%">
                            <PanelCollection>
                                <dx:HtmlEditorRoundPanelContent>
                                    <table>
                                        <tr>
                                            <td>
                                                <dx:ASPxLabel ID="lblAvailabilityLegends" runat="server" Text="Availability Legends" Font-Bold="True"></dx:ASPxLabel>
                                            </td>
                                        </tr>
                                    </table>
                                    <table>
                                        <tr>
                                            <td style="width: 15%">
                                                <dx:ASPxTextBox ID="ASPxTextBox1" BackColor="LightGreen" runat="server" Enabled="false"></dx:ASPxTextBox>
                                            </td>
                                            <td>
                                                <dx:ASPxLabel ID="ASPxLabel1" runat="server" Text="Working"></dx:ASPxLabel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 15%">
                                                <dx:ASPxTextBox ID="ASPxTextBox2" BackColor="LightSalmon" runat="server" Enabled="false"></dx:ASPxTextBox>
                                            </td>
                                            <td>
                                                <dx:ASPxLabel ID="ASPxLabel3" runat="server" Text="Off Day"></dx:ASPxLabel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 15%">
                                                <dx:ASPxTextBox ID="ASPxTextBox3" BackColor="LightPink" runat="server" Enabled="false"></dx:ASPxTextBox>
                                            </td>
                                            <td>
                                                <dx:ASPxLabel ID="ASPxLabel2" runat="server" Text="Public Holiday"></dx:ASPxLabel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 15%">
                                                <dx:ASPxTextBox ID="ASPxTextBox4" BackColor="LightSkyBlue" runat="server" Enabled="false"></dx:ASPxTextBox>
                                            </td>
                                            <td>
                                                <dx:ASPxLabel ID="ASPxLabel4" runat="server" Text="Compensatory Off"></dx:ASPxLabel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 15%">
                                                <dx:ASPxTextBox ID="ASPxTextBox5" BackColor="LightGray" runat="server" Enabled="false"></dx:ASPxTextBox>
                                            </td>
                                            <td>
                                                <dx:ASPxLabel ID="ASPxLabel5" runat="server" Text="Sick Leave"></dx:ASPxLabel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 15%">
                                                <dx:ASPxTextBox ID="ASPxTextBox6" BackColor="LightCyan" runat="server" Enabled="false"></dx:ASPxTextBox>
                                            </td>
                                            <td>
                                                <dx:ASPxLabel ID="ASPxLabel6" runat="server" Text="Optional Holiday"></dx:ASPxLabel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 15%">
                                                <dx:ASPxTextBox ID="ASPxTextBox7" BackColor="Wheat" runat="server" Enabled="false"></dx:ASPxTextBox>
                                            </td>
                                            <td>
                                                <dx:ASPxLabel ID="ASPxLabel7" runat="server" Text="Casual Leave"></dx:ASPxLabel>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="width: 15%">
                                                <dx:ASPxTextBox ID="ASPxTextBox8" BackColor="LavenderBlush" runat="server" Enabled="false"></dx:ASPxTextBox>
                                            </td>
                                            <td>
                                                <dx:ASPxLabel ID="ASPxLabel8" runat="server" Text="Casual Leave Half Day"></dx:ASPxLabel>
                                            </td>
                                        </tr>
                                    </table>
                                </dx:HtmlEditorRoundPanelContent>
                            </PanelCollection>
                        </dx:ASPxPanel>
                    </dx:SplitterContentControl>
                </ContentCollection>
            </dx:SplitterPane>
        </Panes>
    </dx:ASPxSplitter>
</asp:Content>--%>
